package com.ruoyi.finance.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 分销员收入对象 distributorincome
 * 
 * @author ruoyi
 * @date 2025-06-10
 */
public class Distributorincome extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分销员id */
    private Long distributorId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 家长id */
    @Excel(name = "家长id")
    private Long parentId;

    /** 校区ID */
    @Excel(name = "校区ID")
    private Long campusId;

    /** 分销员名称 */
    @Excel(name = "分销员名称")
    private String distributorName;

    /** 收入 */
    @Excel(name = "收入")
    private BigDecimal income;

    /** 成交单数 */
    @Excel(name = "成交单数")
    private Long orderCount;

    /** 备用字段1 */
    private String demo1;

    /** 备用字段2 */
    private String demo2;

    /** 备用字段3 */
    private String demo3;

    public void setDistributorId(Long distributorId) 
    {
        this.distributorId = distributorId;
    }

    public Long getDistributorId() 
    {
        return distributorId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }

    public void setCampusId(Long campusId) 
    {
        this.campusId = campusId;
    }

    public Long getCampusId() 
    {
        return campusId;
    }

    public void setDistributorName(String distributorName) 
    {
        this.distributorName = distributorName;
    }

    public String getDistributorName() 
    {
        return distributorName;
    }

    public void setIncome(BigDecimal income) 
    {
        this.income = income;
    }

    public BigDecimal getIncome() 
    {
        return income;
    }

    public void setOrderCount(Long orderCount) 
    {
        this.orderCount = orderCount;
    }

    public Long getOrderCount() 
    {
        return orderCount;
    }

    public void setDemo1(String demo1) 
    {
        this.demo1 = demo1;
    }

    public String getDemo1() 
    {
        return demo1;
    }

    public void setDemo2(String demo2) 
    {
        this.demo2 = demo2;
    }

    public String getDemo2() 
    {
        return demo2;
    }

    public void setDemo3(String demo3) 
    {
        this.demo3 = demo3;
    }

    public String getDemo3() 
    {
        return demo3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("distributorId", getDistributorId())
            .append("userId", getUserId())
            .append("parentId", getParentId())
            .append("campusId", getCampusId())
            .append("distributorName", getDistributorName())
            .append("income", getIncome())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("orderCount", getOrderCount())
            .append("demo1", getDemo1())
            .append("demo2", getDemo2())
            .append("demo3", getDemo3())
            .toString();
    }
}
